package com.example.demo.service;

import com.example.demo.mapper.TestUserMapper;
import com.example.demo.model.TestUser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TestUserImpl {
    @Resource
    TestUserMapper testUserMappers;

    public TestUser getUser() {

        return  testUserMappers.selectByPrimaryKey(1);
    };

}
